import random

def randomText(textArr):
	length = len(textArr)
	if length < 1:
		return ''
	if length == 1:
		return str(textArr[0])
	randomNumber = random.randint(0,length-1)
	return str(textArr[randomNumber])

def randomID(num):
	tmp = ''
	for i in range(num):
		a = str(random.randint(0,9))
		tmp += a
	return tmp
def randomPartID(num):
	tmp = randomText(['A','B'])
	for i in range(num):
		a = str(random.randint(0,9))
		tmp += a
	return tmp




if __name__ == '__main__':
	randStr = randomText(["negative", "positive"])
	print(randStr)
	print(randomID(18))
	print(randomPartID(4))